package com.hejx.security.manager.util;

import com.hejx.security.common.utils.SecurityUtil;

/**
 * Created by 追风少年
 *
 * @email doubihah@foxmail.com
 * @create 2017/12/27 15:12
 **/
public class PasswordUtils {

    // 密码盐值
    private static final String salt = "C,./j1`j2`1clxzc?>XC,./4124j0/*-(*%^^231ぁjwq";

    /**
     * 加密密码
     * @param password
     * @return
     */
    public static String EncryptPassword(String password){
        return SecurityUtil.EncoderByMd5(password+salt);
    }

}
